package com.lll.demo.entity;

import com.lll.demo.vo.UserVo;
import jdk.jfr.DataAmount;
import lombok.Data;

@Data
public class User {

    private String id;

    private  String password;

    private  String name;

    private   String major;

    private   String classname;

    private   String student_number;

    public  User(){}

    public User(UserVo userVo){
        this.id = userVo.getId();
        this.password = userVo.getPassword();
        this.name = userVo.getName();
        this.major = userVo.getMajor();
        this.classname = userVo.getClassname();
        this.student_number = userVo.getStudent_number();
    }



}
